-- GENERATED SPELL FOR [Wildspawn Shadowstalker] --


function spell0_11456(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(22416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11456', 515, 1)
end

function Sorts_11456(pUnit, Event)
local choix_sorts_11456 = math.random(0, 0)
if choix_sorts_11456 == 0 then
pUnit:RegisterEvent('spell0_11456', 1, 1)
end
end

function mob11456_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11456', math.random(1500, 3000), 1)
end

function mob11456_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11456_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11456_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11456, 1, 'mob11456_Action')
RegisterUnitEvent(11456, 2, 'mob11456_Leave')
RegisterUnitEvent(11456, 3, 'mob11456_Kill')
RegisterUnitEvent(11456, 4, 'mob11456_Die')
